//
//  UserModel.h
//  SmartiOSPublisher
//
//  Created by Liu,Qingcan on 2017/4/25.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PersistenceCommon.h"
#import "User+CoreDataClass.h"
#import "LEUserItem.h"


@interface UserModel : NSObject
@property (nonatomic,weak)PersistenceCommon *persistence;


- (void)insertUserData:(LEUserItem *)item;
- (NSArray *)selectNumberOfData:(NSInteger)number;
- (void)deleteUser:(User *)item;
- (void)updateUser:(User *)item;
- (void)deleteAllUser;
@end
